package cn.cvs.service.sysUser;

import cn.cvs.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 示例8：接口
 */
public interface SysUserService {
    public List<SysUser> getList(SysUser sysUser);
    //示例14：保存用户
    public boolean add(SysUser sysUser);

    public boolean del(Integer id);

    public boolean update(@Param("password")String password,@Param("id")Integer id);
    boolean updateUser(SysUser sysUser);
}
